/**
 * Created by IntelliJ IDEA.
 * User: cornel
 * Date: Aug 9, 2010
 * Time: 4:28:15 PM
 * To change this template use File | Settings | File Templates.
 */
package org.smartagents.global;

import org.smartagents.enviro.Environment;

public class Global {
        
    private static Global ourInstance = new Global();

    private Environment environment;

    private boolean run = true;

    public static Global getInstance() {
        return ourInstance;
    }

    private Global() {
    }

    public boolean isRun() {
        return run;
    }

    public void setRun(boolean run) {
        this.run = run;
    }

    public Environment getEnvironment() {
        return environment;
    }

    public void setEnvironment(Environment environment) {
        this.environment = environment;
    }
}
